from langchain_deepseek import ChatDeepSeek

llm = ChatDeepSeek(
    model="deepseek-chat",
    temperature=0,
    max_tokens=None,
    timeout=None,
    max_retries=2,
    api_key="sk-85fc9df9a1a9474fbba2f9291ed57476",
)

print(llm.model_name)
result = llm.invoke("你是谁？")

print(result)
